package com.xrc.t1;
/**
 * 小鸟  子类
 * @author
 * @email
 */
public class Bird extends Animal {
    private Integer wing;

    public Bird() {
    }

    public Integer getWing() {
        return wing;
    }

    public void setWing(Integer wing) {
        this.wing = wing;
    }
    public void fly(){
        System.out.println("自由飞翔");
    }
}
